<div class="wrapper">
<div id="add_domain_to_order" order="{{ order_name }}">
    <div name="human_link" action="add_domain_to_order" order="{{ order_name }}">
        <a href="" order="{{ order_name }}">Добавить домен к заказу</a>
    </div>
</div>
<div id="domain_order_list" order="{{ order_name }}">
    {% for domain in domains %}
        <div id="domain_item" order="{{ order_name }}">
            <hr>
            <h2 class="ml"><span>{{ domain.getName() }}</span></h2>
            {% if domain.IsActive() %}
                <a href="" id="dns" order="{{ order_name }}" domain="{{ domain.getName() }}">Управление DNS</a>
            {% else %}
                <a href="" id="dns" order="{{ order_name }}" domain="{{ domain.getName() }}" style="display:none">Управление DNS</a>
            {% endif %}
            {#<table class="mysql-detals">
                    <tr>
                            <td width="180"><div class="mysql-item">{{ domain.getFirstNsServer() }}</div></td>
                            <td width="180"><div class="mysql-item">{{ domain.getSecondNsServer() }}</div></td>
                    </tr>
            </table>
            #}
            {% if domain.IsActive() %}
                <div id="load_icon_wait_domain" order="{{ order_name }}" domain="{{ domain.getName() }}" style="display:none">
            {% else %}
                <div id="load_icon_wait_domain" order="{{ order_name }}" domain="{{ domain.getName() }}">
            {% endif %}
                Создание домена  <img alt="загрузка" src="{{ asset('bundles/billing/i/load.gif') }}">
            </div>
            
            <br>   
        </div>
        
    {% endfor %}
</div>
</div>
